import matplotlib.pyplot as plt

fig = plt.figure(figsize=(12, 5))
plt.plot([0, 1, 2, 8, 14], [0, -3, 0, -1, 0])

# 保存图形
plt.savefig('./picture/draw3.png')

# 显示图形
plt.show()